WCProductsWizard\Cart D

Total Complexity 302
Dependencies 10
Dependents 5
Total lines 1,527
Lines of code 833
Logical lines of code 417
Comment lines 419
Methods 45
Properties 3

Methods 45

Method Rating Maintainability Complexity Lines of code
get()
C
35 30 78
beforeCalculateAction()
C
34 25 86
itemSubTotalFilter()
A
51 14 24
itemPriceFilter()
A
51 14 24
addProduct()
A
41 11 60
getItemPrice()
A
45 12 39
getTotalPrice()
A
54 12 19
getTotal()
A
54 12 16
modifyPriceAccordingItemTaxes()
A
49 11 28
getAttributeValues()
A
50 11 25
itemRemoveAction()
A
53 11 22
quantityUpdateAction()
A
53 10 23
itemDataFilter()
A
46 8 37
itemRestoreAction()
A
56 9 18
set()
A
56 9 17
getKeyByVariationData()
S
59 7 12
getKitChildData()
S
47 5 34
getProductById()
S
60 6 12
getKeyByProductId()
S
60 6 12
itemQuantityFilter()
S
63 6 11
getProductMeta()
S
59 5 14
removeByStepId()
S
59 5 13
getItemStepInputChildrenPrice()
S
60 5 12
getItemFinalPrice()
S
61 5 11
displayPricesIncludesTax()
S
65 5 8
itemAfterRemoveAction()
S
64 5 10
getProductsAndVariationsIds()
S
60 4 13
itemClass()
S
63 4 11
generateProductId()
S
62 4 11
getCategoriesIds()
S
62 3 11
itemRemoveLinkFilter()
S
68 3 7
itemAfterRestoreAction()
S
67 3 8
getStepsIds()
S
63 3 10
itemThumbnailFilter()
S
60 2 13
__construct()
S
54 1 20
itemVisibilityFilter()
S
71 2 6
removeByProductId()
S
63 2 10
pricesIncludeTax()
S
70 2 6
setItemPrice()
S
68 2 7
getItemByKey()
S
70 2 5
clearCache()
S
70 2 7
removeByCartKey()
S
65 1 9
getStorage()
S
78 1 3
truncate()
S
69 1 7
getByStepId()
S
73 1 4